#!/bin/sh

exit 0
if [ -f /sbin/cluster/cldaemon ]
then
	exit 0
fi

if [ ! -f /sbin/cluster/clstartapp ]
then
	rm -f /sbin/cluster/clhaltapp
	rm -f /sbin/cluster/cldaemonctl
	rm -f /sbin/cluster/clnetctl
	rm -f /sbin/cluster/clhbdctl
	rm -f /sbin/cluster/mii-diag
	rm -f /sbin/cluster/tools/send_arp
fi

# Remove drbd shutdown links if present...
rm -f /etc/init.d/linuxha_drbd
rm -f /etc/rc3.d/K13linuxha_drbd
rm -f /etc/rc5.d/K13linuxha_drbd

# Also get rid of the /usr/src/cluster stuff
if [ -d /usr/src/cluster ]
then
	cd /usr/src && rm -rf cluster
fi

rm -f /sbin/cluster/tools/dusp
rm -rf /sbin/cluster
exit 0
